.el-table {
  width: 100%;
  .el-table__header .cell {
    font-weight: 500;
  }
  &[type="default"] {
    .el-table__header th {
      background: rgba(0, 0, 0, 0.02);
    }
    &.el-table--enable-row-hover .el-table__body tr:hover>td {
      // background: #f2f2f2;
      background: rgba(82, 176, 254, 0.06);
    }
  }

  // 将fix right的隐藏栏 定位到视窗以外，解决tooltips出现两个的问题
  .el-table__body-wrapper .el-table__row .is-hidden {
    position: fixed;
    left: -1000px;
    top: -1000px;
  }

  .cell {
    font-weight: 400;
    color: #333;
    font-size: @font-content;
    overflow: visible;
    padding-left: 12px;
    padding-right: 12px;
  }

  tr .el-table__cell {
    padding-top: 10px;
    padding-bottom: 10px;
    height: 54px;
  }

  th .cell {
    line-height: 1;
  }

  .el-table-column--selection {
    width: 34px;
    //  table checkbox对齐
    .cell {
      padding-left: 10px;
    }
  }

  .el-table__row {
    &.is-checked td {
      background: @form-disabled-bg-color  !important;
    }
  }

  tr {

    td:first-child,
    // th:first-child {
    //   padding-left: 20px;
    // }

    td:last-child,
    th:nth-last-child(2) {
      padding-right: 20px;
    }
  }

  &::before {
    height: 0;
  }
  .el-table__body tr.el-table__row--striped td,
  .el-table__header th {
    background: @color-devider;
    &.is-leaf {
      border-bottom: 0;
    }
  }
}

.el-table__empty-block {
  padding-top: 300px;
  background: url(//yun.duiba.com.cn/aurora/assets/2038e7da36995985688abbc18d2cd2627fdc2d76.png) no-repeat 50% 50%;
  background-size: 300px 230px;
  color: @color-sup;
  font-size: @font-content;
  border-bottom: 1px solid #EBEEF5;
}

.el-table--enable-row-hover .el-table__body tr:hover>td {
  // background: #f2f2f2;
  background: rgba(82, 176, 254, 0.06);
}

.el-table--striped {
  &:before {
    display: none;
  }

  th.is-leaf,
  td {
    border-bottom: 0;
  }

  

  .el-table__header th {
    background: rgba(0, 0, 0, 0.02);
  }

  &.el-table--enable-row-hover .el-table__body tr:hover>td {
    // background: #f2f2f2;
    background: rgba(82, 176, 254, 0.06);
  }
}

.el-table--medium th,
.el-table--medium td {
  padding: 20px 0;
}
